function showPage(pageId,isPopup){
	if(isPopup) {
			$id("body").removeClass("hideScroll");
		} else {
			if($id(currentPage)){
				$id(currentPage).addClass("hide");
			}
		}
		
		$id(pageId).removeClass("hide");
		lastPage = currentPage;
		currentPage = pageId;	

}

function hidePopup () {
  		$id(currentPage).addClass("hide");
		$id("popup").addClass("hide");
		$id("body").removeClass("hideScroll");
		currentPage = lastPage;
}



function resetPage(){
	var currentPage = "content-manageProduct";
	var lastPage ="content-manageProduct";
	callProductListService();
	showPage("content-manageProduct");

}
